Rooftop Solar Potential Map ☀

Sarah Underwood

Table of Contents¶

  1. The problem
  2. The solution
  3. The vision

1. Uh-oh, we have a big problem...¶

Climate change 😭😭¶

climate%20change.jpg

Energy is the biggest culprit 😭¶

2. Solar power to the rescue 🌞¶

Not every roof is fit for solar!!¶

  • Local weather
  • Roof size
  • Roof condition
  • Roof material

3. The vision¶

Okayyy so how do we easily identify which roofs are good for solar?!

Part I: Recognizing Rooftops¶

The data

国土地理院が提供しているオープンデータ ♡

database_preview_chiri.png

data_walkthrough.png

folder.png

val_or.png

286x286.png

CNN model¶

With the labeled dataset, train a model to recognize rooftops!!

Typical_cnn.png

Part II: Rooftop Analysis¶

Okay so we can recognize roofs!! Next we gotta see:

  • What is size?

  • How much shade does it get?

  • Is the roof flat or slanted?

  • What is the material?

  • Is there something on the roof?

Shade¶

Use image segmentation to determine if a rooftop gets too much shade

shadow.png

Material¶

Probably through color analysis

1_wM3mOEB0QjK2XzgRBnckSA.png

Slope¶

Image segmentation to carve out the geometric shapes of a rooftop to determine if flat or sloped

rooftops.png

segmentation.png

Obstructions¶

Color differences to detect obstructions

obstructed.png

Size¶

Use CNN labeled output to calculate the surface area

aerial%20imaging.jpg

How big does a roof need to be?

  • The average household needs a 5kW system

  • A 5kW system requires about $30m^2$

Simple math to calculate ฅ^•ω•^ฅ

  • Subtract obstructions, heavy shading, shaded slants from total

Part IV: Estimated generation¶

For our houses that are good for solar, we'll calculate a yearly generation potential!!

                          Yay this how is good for solar!!             This house isn't :(

360_F_545874049_Ih8r7uT71NOxrV7WzTPynpUqU68idmVV.jpg

In [38]:
import pandas as pd

weather = pd.read_csv('data.csv', encoding="cp932")
weather.head()
Out[38]:
ダウンロードした時刻:2024/01/20 11:28:48
NaN 府中 府中 府中
年月日時 日照時間(時間) 日照時間(時間) 日照時間(時間)
NaN NaN 品質情報 均質番号
2023/1/1 1:00:00 NaN 8 1
2023/1/1 2:00:00 NaN 8 1
In [37]:
weather[8:21][:]
Out[37]:
ダウンロードした時刻:2024/01/20 11:28:48
2023/1/1 6:00:00 NaN 8 1
2023/1/1 7:00:00 0.0 8 1
2023/1/1 8:00:00 0.8 8 1
2023/1/1 9:00:00 1.0 8 1
2023/1/1 10:00:00 1.0 8 1
2023/1/1 11:00:00 1.0 8 1
2023/1/1 12:00:00 1.0 8 1
2023/1/1 13:00:00 1.0 8 1
2023/1/1 14:00:00 1.0 8 1
2023/1/1 15:00:00 1.0 8 1
2023/1/1 16:00:00 1.0 8 1
2023/1/1 17:00:00 0.3 8 1
2023/1/1 18:00:00 NaN 8 1

Solar generation system wattage x sunlight hours = estimated generation

Final Product?!¶

solar%20potential%20tokyo.jpg

potential_example.jpg

The End!!!¶

Url